package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.GraphicLinkDAO;
import top.zywork.dos.GraphicLinkDO;
import top.zywork.dto.GraphicLinkDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.GraphicLinkService;

import javax.annotation.PostConstruct;

/**
 * GraphicLinkServiceImpl服务接口实现类<br/>
 *
 * 创建于2020-12-02<br/>
 *
 * @author http://ljyanimo.com 刘金泳
 * @version 1.0
 */
@Service(value = "graphicLinkService")
public class GraphicLinkServiceImpl extends AbstractBaseService implements GraphicLinkService {

    private GraphicLinkDAO graphicLinkDAO;

    @Autowired
    public void setGraphicLinkDAO(GraphicLinkDAO graphicLinkDAO) {
        super.setBaseDAO(graphicLinkDAO);
        this.graphicLinkDAO = graphicLinkDAO;
    }

    @PostConstruct
    public void init() {
        super.init(GraphicLinkDO.class, GraphicLinkDTO.class);
    }
}